><

Creating background matting in JPEG images



When creating a JPEG from an original image that contains layer transparency, you must matte the image against a matte color. Since the JPEG format does not support transparency, blending with a matte color is the only way to create the appearance of background transparency in a JPEG. Fully transparent pixels are filled with the matte color, and partially transparent pixels are blended with the matte color. When the JPEG is placed on a Web page with a background that matches the matte color, the image appears to blend with the Web page background.

To create a matted JPEG image:

1 Open or create an image that contains transparency.

2 In the Optimize panel/palette, select JPEG from the file format menu.

3 Select a color from the Matte pop-up menu:

  • (Photoshop) Select None, Eyedropper (to use the color in the eyedropper sample box), White, Black, or Other (using the color picker).
  • (ImageReady) Select None, Foreground Color, Background Color, or Other (using the color picker), or select a color from the Matte pop-up palette.

  • Note: When you select None, white is used as the matte color.


    Optimizing Images for the Web > Making transparent and matted images > Creating background matting in JPEG images